import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  name: string;
  sex: string;
  avatar: string;
  email: string;
  city: string;
  status: string;
  type: string;
  createDate: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: 'id',
    key: 'id',
    width: 100,
  },
  {
    title: '姓名',
    key: 'name',
    width: 100,
  },
  {
    title: '照片',
    key: 'city',
    width: 100,
  },
  {
    title: '性别',
    key: 'city',
    width: 100,
  },
  {
    title: '工种',
    key: 'city',
    width: 100,
  },
  {
    title: '出生年月',
    key: 'city',
    width: 140,
  },
  {
    title: '身份证号码',
    key: 'city',
    width: 160,
  },
  {
    title: '身份证家庭住址',
    key: 'city',
    width: 160,
  },
  {
    title: '民族',
    key: 'city',
    width: 120,
  },
  {
    title: '与户主关系',
    key: 'city',
    width: 140,
  },
  {
    title: '所在派出所',
    key: 'city',
    width: 140,
  },
  {
    title: '是否有案底',
    key: 'createDate',
    width: 140,
  },
];
